<!--
 * @Descripttion: 
 * @Author: voanit
 * @Date: 2022-06-29 18:13:24
 * @LastEditors: voanit
 * @LastEditTime: 2022-06-29 18:27:35
-->
<template>
  <div>
    御剑乘风来,除魔天地间!===vue3===pinia==={{ counter.count }}
    <button @click="counter.increment">触发actions</button>
  </div>
</template>
<script>
import useCounterStore from '../store/counter.js'
export default {
  name: '',
  setup () {
    const counter = useCounterStore()
    console.log(counter.count, 77);
    return { counter }
  }
}
</script>
<style lang='less'  scoped>
</style>